<!-- submit_ticket.html -->
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>提交票务请求</title>
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>
<body>
    <header>
        <h1>提交票务请求</h1>
    </header>
    <form method="POST" action="{% url 'submit_ticket' %}">
        {% csrf_token %}
        <div>
            <label for="ticket_type">票务类型:</label>
            <select id="ticket_type" name="ticket_type">
                <option value="adult">成人票</option>
                <option value="child">儿童票</option>
                <option value="senior">老年票</option>
            </select>
        </div>
        <div>
            <label for="quantity">数量:</label>
            <input type="number" id="quantity" name="quantity" min="1" required>
        </div>
        <button type="submit">提交请求</button>
    </form>
</body>
</html>
